#!/usr/bin/env python
# -*- coding: utf-8 -*-
#  urls.py
#  description

#  Created by zhouzongli633 on 2020/6/1 9:30 上午.
#  Copyright ©Intellectus All rights reserved.

from django.urls import path
from EducationContent.views import content, hospital, category, content_copy, category_copy, source, category_content_app

urlpatterns = [

    path('hospital', hospital.HospitalView.as_view()),
    path('category', category.CategoryView.as_view()),
    path('content_copy', content_copy.ContentCopy.as_view()),
    path('category_copy', category_copy.CategoryCopy.as_view()),
    path('content_detail', content.content_details),
    path('content_delete', content.content_delete),
    path('content_list', content.content_list),
    path('content_create', content.content_create),
    path('category_detail', content.category_detail),
    path('content/<int:content_id>', content.content_html),
    path('content/relate_content_info', content.relate_content_info),
    path('content_move', content.content_move),
    path('category_move', content.category_move),
    path('modifyordercategory', category.ModifyOrderCategory.as_view()),
    path('content_update', content.content_update),
    path('check_other_hospital', content.check_other_hospital),
    path('content_super_array', content.super_category_detail),
    path('content_count', content.content_same_count),
    path('source_list', source.source_list),
    path('source_create', source.source_create),
    path('source_delete', source.source_delete),
    path('source_update', source.source_update),
    path('source_detail', source.source_detail),
    path('search', content.search),

    path('content/education/categories.json', category_content_app.categoryies_content_list),
    path('content/education/bookmarked', category_content_app.bookmark_categoryies_content_list),
    path('content/education/recommended', category_content_app.recommended_content_list),

    path('content/education/education_bookmark', category_content_app.education_bookmark),
    path('content/education/education_unbookmark', category_content_app.education_unbookmark),

    path('content/education/contents_search', category_content_app.contents_search),

]
